package org.yn.car.mapper;

import org.apache.ibatis.annotations.Param;
import org.yn.car.domain.Car;
import org.yn.base.mapper.IBaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yn
 * @since 2023-08-21
 */
public interface CarMapper extends IBaseMapper<Car> {

    List<Car> batchSelectByCarId(List<Long> ids);

    void onsale(@Param("idList") List<Long> idList,@Param("state") Integer state);

    void offsale(@Param("idList") List<Long> ids,@Param("state") Integer state);
}
